package com.tankdev.hikari.dao;

import com.tankdev.hikari.entity.Title;
import com.tankdev.hikari.entity.User;
import org.beetl.sql.core.annotatoin.Sql;
import org.beetl.sql.core.mapper.BaseMapper;

import java.util.List;

/**
 * @author javadev.top
 *
 * @since 2020-04-27 18:04
 */
public interface TitleDao extends BaseMapper<Title> {
    @Sql("SELECT * FROM cboard.`test_user`")
    List<User> getOtherUser();
}
